Package pl.wendigo.chrome.api.browser

Contains DevTools Protocol Browser domain implementation accessible via BrowserDomain class.

Types

Bounds
Link copied to clipboard
data class Bounds(left: Int?, top: Int?, width: Int?, height: Int?, windowState: WindowState?)
Browser window bounds information
BrowserCommandId
Link copied to clipboard
enum BrowserCommandId : Enum<BrowserCommandId>
Browser command ids used by executeBrowserCommand.
BrowserContextID
Link copied to clipboard
typealias BrowserContextID = String
BrowserDomain
Link copied to clipboard
class BrowserDomain : Domain
The Browser domain defines methods and events for browser managing.
Bucket
Link copied to clipboard
data class Bucket(low: Int, high: Int, count: Int)
Chrome histogram bucket.
CancelDownloadRequest
Link copied to clipboard
data class CancelDownloadRequest(guid: String, browserContextId: BrowserContextID?)
Represents request frame that can be used with Browser#cancelDownload operation call.
ExecuteBrowserCommandRequest
Link copied to clipboard
data class ExecuteBrowserCommandRequest(commandId: BrowserCommandId)
Represents request frame that can be used with Browser#executeBrowserCommand operation call.
GetBrowserCommandLineResponse
Link copied to clipboard
data class GetBrowserCommandLineResponse(arguments: List<String>)
Represents response frame that is returned from Browser#getBrowserCommandLine operation call.
GetHistogramRequest
Link copied to clipboard
data class GetHistogramRequest(name: String, delta: Boolean?)
Represents request frame that can be used with Browser#getHistogram operation call.
GetHistogramResponse
Link copied to clipboard
data class GetHistogramResponse(histogram: Histogram)
Represents response frame that is returned from Browser#getHistogram operation call.
GetHistogramsRequest
Link copied to clipboard
data class GetHistogramsRequest(query: String?, delta: Boolean?)
Represents request frame that can be used with Browser#getHistograms operation call.
GetHistogramsResponse
Link copied to clipboard
data class GetHistogramsResponse(histograms: List<Histogram>)
Represents response frame that is returned from Browser#getHistograms operation call.
GetVersionResponse
Link copied to clipboard
data class GetVersionResponse(protocolVersion: String, product: String, revision: String, userAgent: String, jsVersion: String)
Represents response frame that is returned from Browser#getVersion operation call.
GetWindowBoundsRequest
Link copied to clipboard
data class GetWindowBoundsRequest(windowId: WindowID)
Represents request frame that can be used with Browser#getWindowBounds operation call.
GetWindowBoundsResponse
Link copied to clipboard
data class GetWindowBoundsResponse(bounds: Bounds)
Represents response frame that is returned from Browser#getWindowBounds operation call.
GetWindowForTargetRequest
Link copied to clipboard
data class GetWindowForTargetRequest(targetId: TargetID?)
Represents request frame that can be used with Browser#getWindowForTarget operation call.
GetWindowForTargetResponse
Link copied to clipboard
data class GetWindowForTargetResponse(windowId: WindowID, bounds: Bounds)
Represents response frame that is returned from Browser#getWindowForTarget operation call.
GrantPermissionsRequest
Link copied to clipboard
data class GrantPermissionsRequest(permissions: List<PermissionType>, origin: String?, browserContextId: BrowserContextID?)
Represents request frame that can be used with Browser#grantPermissions operation call.
Histogram
Link copied to clipboard
data class Histogram(name: String, sum: Int, count: Int, buckets: List<Bucket>)
Chrome histogram.
PermissionDescriptor
Link copied to clipboard
data class PermissionDescriptor(name: String, sysex: Boolean?, userVisibleOnly: Boolean?, allowWithoutSanitization: Boolean?, panTiltZoom: Boolean?)
Definition of PermissionDescriptor defined in the Permissions API: https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
PermissionSetting
Link copied to clipboard
enum PermissionSetting : Enum<PermissionSetting>
PermissionType
Link copied to clipboard
enum PermissionType : Enum<PermissionType>
ResetPermissionsRequest
Link copied to clipboard
data class ResetPermissionsRequest(browserContextId: BrowserContextID?)
Represents request frame that can be used with Browser#resetPermissions operation call.
SetDockTileRequest
Link copied to clipboard
data class SetDockTileRequest(badgeLabel: String?, image: String?)
Represents request frame that can be used with Browser#setDockTile operation call.
SetDownloadBehaviorRequest
Link copied to clipboard
data class SetDownloadBehaviorRequest(behavior: String, browserContextId: BrowserContextID?, downloadPath: String?)
Represents request frame that can be used with Browser#setDownloadBehavior operation call.
SetPermissionRequest
Link copied to clipboard
data class SetPermissionRequest(permission: PermissionDescriptor, setting: PermissionSetting, origin: String?, browserContextId: BrowserContextID?)
Represents request frame that can be used with Browser#setPermission operation call.
SetWindowBoundsRequest
Link copied to clipboard
data class SetWindowBoundsRequest(windowId: WindowID, bounds: Bounds)
Represents request frame that can be used with Browser#setWindowBounds operation call.
WindowID
Link copied to clipboard
typealias WindowID = Int
WindowState
Link copied to clipboard
enum WindowState : Enum<WindowState>
The state of the browser window.